﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Loja.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script type="text/javascript" src="scripts/jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min.js"></script>
    <link rel="stylesheet" type="text/css" href="scripts/jquery-ui-1.8.16.custom/css/custom-theme/jquery-ui-1.8.16.custom.css" />
    <link rel="Stylesheet" href="css/site.css" />
    <style>
        .linkAcesso
        {
            font-size: 9px;
        }
        .linkAcesso:hover
        {
            text-decoration: underline;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="Background">
        <div id="Header">
            <asp:Label ID="Hello" runat="server" Text="Olá seja bem-vindo à tela de login"></asp:Label>
        </div>
        <div id="Content">
            <div class="progresso">
                <ul class="steps">
                    <li id="liCarrinho" class="completed"><span>Minha Cesta</span></li>
                    <li id="liIdent" class="progress"><span>Identificação</span></li>
                    <li id="liEntrega" class=""><span style="">Entrega</span></li>
                    <li id="liPagamento" class=""><span>Pagamento</span></li>
                    <li id="liConfirmacao" class="last"><span>Confirmação</span></li>
                </ul>
            </div>
            <table style="margin: 160px 50px 50px 50px; height:100%; width:100%">
                <tr >
                    <td style="width:400px;">
                        <fieldset style="width:350px;">
                            <legend class="labelCadastro">&nbsp Login &nbsp </legend>
                            <table style="padding: 10px 10px 10px 10px;"  cellpadding="11">
                                <tr>
                                    <td >
                                        <label class="labelCadastro" for="txtEmail">
                                            E-mail:</label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtEmail" runat="server" Width="15em"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rq_txtEmail" runat="server" ErrorMessage="<strong>Digite um e-mail</strong>"
                                            ControlToValidate="txtEmail" Display="None"></asp:RequiredFieldValidator>
                                        <ajaxToolkit:ValidatorCalloutExtender ID="vcEmail" runat="server" TargetControlID="rq_txtEmail">
                                        </ajaxToolkit:ValidatorCalloutExtender>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <label class="labelCadastro" for="txtSenha">
                                            Senha:</label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtSenha" runat="server" MaxLength="20" Width="15em" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rq_txtSenha" runat="server" ErrorMessage="<strong>Digite uma senha</strong>"
                                            ControlToValidate="txtSenha" Display="None"></asp:RequiredFieldValidator>
                                        <ajaxToolkit:ValidatorCalloutExtender ID="vcSenha" runat="server" TargetControlID="rq_txtSenha">
                                        </ajaxToolkit:ValidatorCalloutExtender>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="text-align: right;">
                                        <asp:LinkButton ID="btnEntrar" CssClass="btnEntrar" runat="server" OnClick="btnEntrar_Click">Entrar</asp:LinkButton>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: left;">
                                        <br />
                                        <asp:LinkButton ID="btnNovo" runat="server" CssClass="linkAcesso" OnClick="btnNovo_Click"
                                            CausesValidation="false">Novo cliente</asp:LinkButton>
                                    </td>
                                    <td style="text-align: right;">
                                        <br />
                                        <asp:LinkButton ID="btnEsqueceu" runat="server" CssClass="linkAcesso" OnClick="btnEsqueceu_Click" CausesValidation="False">Esqueceu a senha?</asp:LinkButton>
                                    </td>
                                </tr>
                            </table>
                        </fieldset>
                        <div id="dialogErro" title="ERRO !">
                            <asp:Label ID="lblErro" runat="server" CssClass="erro" Text=""></asp:Label>
                        </div>
                    </td>
                    <td style="border-left: 1px solid black">
                        <h2> Dúvidas</h2>
                        <img src="<%= Page.ResolveUrl("~/imagens/")%>question.png" alt="dúvidas" />
                    </td>
                </tr>
            </table>
        </div>
        <div id="Footer">
            <span class="Acesso" style="float: right; color: White">Desenvolvido por <a href="#"
                style="color: White; text-decoration: none">@jcgarcia</a></span>
        </div>
        <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </ajaxToolkit:ToolkitScriptManager>
    </div>
    </form>
</body>
</html>
